#ifndef XMAP_H
#define XMAP_H
#include <vector>
#include <string>
#include "GameObjects.h"
#include "Ship.h"

struct ShipInWave
{
	float x;
	float y;
	std::string name;
	Ship* ship;
};

struct Wave
{
	float row;//8 column
	std::vector<ShipInWave> ships;
};
struct Map
{
	std::vector<Wave> waves;
	int currentWave;
	float rowElapsed;
	float rollSpeed; //cell/second
	void Init(const char* name, const char* xmlSrc);
};
#endif